package com.pz.cloud.framework.business.researchProj.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.pz.cloud.framework.base.annotation.Select;
import com.pz.cloud.framework.base.model.WorkflowEntity;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 科研项目
 * @Author: jeecg-boot
 * @Date:   2020-12-13
 * @Version: V1.0
 */
@Data
@TableName("research_project")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="research_project对象", description="科研项目")
public class ResearchProject extends WorkflowEntity {

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;

    @Excel(name = "项目名称", width = 15)
    @ApiModelProperty(value = "项目名称")
    private String name;

    @Excel(name = "项目来源", width = 15)
    @ApiModelProperty(value = "项目来源")
    private String source;

    @Excel(name = "经费资助", width = 15)
    @ApiModelProperty(value = "经费资助")
    private String support;

    @Excel(name = "开始时间", width = 15)
    @ApiModelProperty(value = "开始时间")
    private Date startTime;

    @Excel(name = "结束时间", width = 15)
    @ApiModelProperty(value = "结束时间")
    private Date endTime;

    @Excel(name = "成果形式", width = 15)
    @ApiModelProperty(value = "成果形式")
    private String resultType;

    @Excel(name = "负责人", width = 15)
    @ApiModelProperty(value = "负责人")
    private String director;

    @Excel(name = "指导老师", width = 15)
    @ApiModelProperty(value = "指导老师")
    private String instructor;

    @Excel(name = "项目描述", width = 15)
    @ApiModelProperty(value = "项目描述")
    private String description;

    @Excel(name = "申请资助金额", width = 15)
    @ApiModelProperty(value = "申请资助金额")
    private BigDecimal fundAmount;

    @Excel(name = "批准资助金额", width = 15)
    @ApiModelProperty(value = "批准资助金额")
    private BigDecimal finalFundAmount;

    @Excel(name = "附件列表", width = 15)
    @ApiModelProperty(value = "附件列表")
    private String enclosures;

    @Excel(name = "立项时间", width = 15)
    @ApiModelProperty(value = "立项时间")
    private Date buildTime;

    @Excel(name = "立项编号", width = 15)
    @ApiModelProperty(value = "立项编号")
    private String projectNo;

    @Excel(name = "项目阶段", width = 15)
    @ApiModelProperty(value = "项目阶段，0初始，1立项，2评审，3结项")
    private Integer projectStep;

    @Select(expression = "act_status != :actStatusNe")
    @TableField(exist = false)
    private Integer actStatusNe;

    @ApiModelProperty(value = "审批结果 1批准  0拒绝")
    private Integer approveResult;

    @TableField(exist = false)
    private String college;
}
